from django.conf.urls import url
from . import views#导入views

urlpatterns = [
    #hello$代表以hello结束，views.index是关联对应views.py中的一个函数
    url(r'^hello$', views.index, name='index'),
]